home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4271 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Borland TC 3.1 to BC4.5  "__FLAT__" problem
  5. Date: 29 Jan 1996 12:31:18 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4eiemm$s8o@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe11.h1.usa.pipeline.com
  9. X-PipeUser: grantp
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (Pete)
  12. X-Newsreader: Pipeline USA v3.3.0
  13.  
  14. On Jan 27, 1996 17:29:01 in article <Borland TC 3.1 to BC4.5  "__FLAT__"
  15. problem>, 'pstar-man@primenet.com (George K. Staropoli)' wrote: 
  16.  
  17.  
  18. >I just tried to compile a 3.1 dll on 4.5, using 4.5 libraries.  The DLL in
  19.  
  20. >3.1 executes OK.  I get  fatal ERROR POINTING TO WINDOWS.H entry 
  21. >#ifndef (__FLAT__) .. 
  22. >I can't find any docs on FLAT.  Does anyone have an answer?? 
  23. It refers to the 32-bit flat memory model available only under 
  24. Win32s, Win95, and WinNT. 
  25.  
  26.  Are you by any chance using the 3.1 header files??  If so, change 
  27. your include path to that of BC45.  If that's not the problem, then 
  28. search through your source code to see if __FLAT__ is defined. 
  29. It shouldn't be. 
  30. -- 
  31. Pete Grant 
  32. Kalevi, Inc. 
  33. Object Oriented Software Development
  34.